package edu.gatech.ece6102;

import edu.gatech.ece6102.beans.AddressBean;

import java.net.URL;
import java.util.HashMap;

/**
 * User: deepal
 * Date: Sep 28, 2010
 * Time: 7:39:05 PM
 */
public class ServerManager {

   private HashMap<String, String> activeServers;

    public ServerManager() {
        activeServers = new HashMap<String, String>(); 
    }

    /**
     * This does the load balancing 
     * @return
     */
    public static AddressBean getNextServer(){
        return new AddressBean();
    }

    /**
     * This method is to inform the server manager about possible node failure
     * @param IP
     */
    public void reportFailServer(String IP){

    }
    
}
